package com.example.config;

import lombok.Data;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * Copyright: Copyright (c) 2022
 *
 * <p>
 * Description:
 *
 * @author LiuFeng
 * @version 2022/11/14 10:48
 * @since
 */
@Configuration
@ConfigurationProperties(prefix = "tbds.kafka")
@Data
public class KafkaProperties {

    private String broker;

    private String authId;

    private String authKey;

    private String topic = "test_topic";

    private String offset = "earliest";
}
